/**
 * Created by loso on 2017/3/16.
 */
public class _172_FactorialTrailingZeroes {

    public int trailingZeroes(int n) {
        int num = 0;
        while(n/5 == 0){
            n = n/5;
            num += n ;
        }
        return num;
    }

}
